package com.hongyun.tms.common.enums;

/**
 * 业务操作类型
 *
 * @author yy
 */
public enum SelectEnum {
    /** 费目 */
    /** 用户 */
    USER("USER",  "T_SYS_USER","ID", "NAME","用户信息"),
    /** 费目 */
    FEE_ITME("FEE_ITME","TOS_M_FEE_ITEM","ITEM_CD", "ITEM_NM","费目"),
    /** SERVICE */
    SERVICE("SERVICE", "TOS_BUS_SERVICE","ID", "SERVICE_NM","服务"),

    /** 机械队 */
    DEPT_MACHINE("DEPT_MACHINE","T_SYS_DEPT","id", "NAME","机械队"),
    /** 劳务队 */
    DEPT_LABOR("DEPT_LABOR","T_SYS_DEPT","id", "NAME","劳务队"),
    /** 按级别查询组织架构 */
    DEPT_LEVEL("DEPT_LEVEL","T_SYS_DEPT","id", "NAME","按级别查询组织架构"),

    /** 作业公司 */
    DEPT_WORK_COMPANY("DEPT_WORK_COMPANY","T_SYS_DEPT","id", "NAME","作业公司"),
    /** 内部部门 */
    DEPT_INNER_ID("DEPT_INNER_ID","T_SYS_DEPT","id", "NAME","内部部门"),
    /** 作业公司 */
    DEPT_WORK_COMPANY_CODE("DEPT_WORK_COMPANY_CODE","T_SYS_DEPT","DEPT_CODE", "NAME","作业公司"),

    /** 船舶 */
    SHIP("SHIP","","", "","船舶"),
    /** 航次 */
    VOYAGE("VOYAGE","TOS_DIS_SHIPVOYAGE_ITEM","", "","航次"),
    /** 航次 */
    SCN("SCN","TOS_DIS_SHIPVOYAGE","", "","航次主表"),

    /** 拖轮 */
    TUG("TUG","TOS_M_TUG","ID", "TUG_NAME","拖轮表"),

    /** 泊位 */
    BERTH("BERTH","TOS_M_BERTH","ID", "BERTH_NAME","泊位"),
    /** 泊位缆庄 */
    BERTH_BOLLARD("BERTH","TOS_M_BERTH_BOLLARD","ID", "BOLLARD_NAME","泊位缆庄"),

    PROVINCE("PROVINCE","TOS_M_CITY","PROVINCE_CODE", "NAME","省"),
    CITY("CITY","TOS_M_CITY","CITY_CODE", "NAME","市"),

    // 停工原因
    STOP_REASON("STOP_REASON","TOS_M_STOP_REASON","ID", "STOP_REASON_NAME","停工原因"),
    // 字典
    DICT("DICT","TMS_M_DICT_DATA","DICT_VALUE", "DICT_LABEL","字典"),

    /** 票货 */
    PORT("PORT","","", "","港口信息"),

    /** 常量 */
    CONSTANT("CONSTANT","TOS_M_CONSTANTS","CD", "NM","常量信息"),

    /** 场、区、货位 */
    STORAGE_YARD_LEVEL("STORAGE_YARD_LEVEL", "TOS_M_STORAGE_YARD","ID", "STORAGE_YARD_NM", "场、区、货位"),

    //标准体系
    STANDARD_SYSTEM("STANDARD_SYSTEM","T_STD_PROCESS_STANDARD_SYSTEM","ID", "STANDARD_SYSTEM_NAME","标准体系"),

    //工艺流程
    PROCESS("PROCESS","T_STD_TECHNOLOGICAL_PROCESS","ID", "PROCESS_NAME","工艺流程"),

    /**航名航次*/
    TOS_DIS_SHIPVOYAGE("TOS_DIS_SHIPVOYAGE","TOS_DIS_SHIPVOYAGE","ID", "SHIP_NAME","航名航次信息"),

    ;

    private String code;
    private String tableName;
    private String valueName;
    private String labelName;
    private String comment;


    SelectEnum(String code, String tableName, String valueName, String labelName, String comment) {
        this.code = code;
        this.tableName = tableName;
        this.valueName = valueName;
        this.labelName = labelName;
        this.comment = comment;
    }

    public String getCode() {
        return code;
    }

    public String getTableName() {
        return tableName;
    }

    public String getComment() {
        return comment;
    }

    public String getValueName() {
        return valueName;
    }

    public String getLabelName() {
        return labelName;
    }
}
